<div class="company">
  <div class="search-inp clearfix">
    <input type="text" placeholder="请输入贷款企业" ng-model="userName">
    <button class="btn-search font-white" ng-click="getCompanyCustomerList(1)">查询</button>
  </div>
  <table class="list-table text-c table table-striped">
    <thead class="bg-green font-white">
      <tr>
        <th>贷款企业</th>
        <th>联系方式</th>
        <th>授信额度</th>
        <th>剩余额度</th>
        <th>贷款笔数</th>
        <th>已放款笔数</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="item in contentList">
        <td ng-bind="item.company_name"></td>
        <td ng-bind="item.user_phone"></td>
        <td ng-bind="'￥' + (item.credit_limit || 0)"></td>
        <td ng-bind="'￥' + (item.credit_balance || 0)"></td>
        <td ng-bind="(item.times || 0) + '笔'"></td>
        <td ng-bind="(item.ok || 0) + '笔'"></td>
        <td class="font-yellow cursor">
          <span ng-click="toBuyOrderList(item)">查看订单</span>
          <span>|</span>
          <span ng-click="toLoanDetail(item)">贷款详情</span>
        </td>
      </tr>
    </tbody>
  </table>
  <!--分页组件-->
  <app-page ng-if="totalPage > 1" current="currentPage" totals="totalPage" fn="changePage"></app-page>
</div>
